<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../../images/favicon.ico">

    <title>洲博通 - Dashboard  Date Paginator </title>
  
	<!-- Bootstrap 4.0-->
	<link rel="stylesheet" href="../../../assets/vendor_components/bootstrap/dist/css/bootstrap.min.css">
	
	<!-- Bootstrap extend-->
	<link rel="stylesheet" href="../../css/bootstrap-extend.css">
	<link href="../../../assets/vendor_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css" rel="stylesheet">

	<!-- Theme style -->
	<link rel="stylesheet" href="../../css/master_style.css">

	<!-- 洲博通 skins -->
	<link rel="stylesheet" href="../../css/skins/_all-skins.css">

	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
	<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
	
</head>
<body class="sidebar-collapse skin-blue sidebar-mini">
  <b data-toggle="push-menu" style="display:none"></b>
<div class="wrapper">


  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Date Paginator
      </h1>
      <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="breadcrumb-item"><a href="#">UI</a></li>
        <li class="breadcrumb-item active">Date Paginator</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">

      <div class="row">
        <div class="col-12">
          <div class="box">
            <div class="box-body res-tb-block">
			  <h4 class="box-title">Date Paginator</h4>
              <p>A jQuery plugin which takes Twitter Bootstrap's already great pagination component and injects a bit of date based magic. In the process creating a hugely simplified and modularised way of paging date based results in your application.</p>
            </div>
            <!-- /.box -->
          </div>
        </div>
        <!-- /.col -->
      </div>
      <!-- ./row -->
	  <!-- .row -->
      <div class="row">
         <div class="col-md-12">
		  <div class="box">
            <div class="box-body res-tb-block">
			  <h4 class="box-title">Default</h4>
              <div id="paginator1"></div>
            </div>
            <!-- /.box -->
          </div>
		  <div class="box">
            <div class="box-body res-tb-block">
			  <h4 class="box-title">Large</h4>
              <div id="paginator2"></div>
            </div>
            <!-- /.box -->
          </div>
		  <div class="box">
            <div class="box-body res-tb-block">
			  <h4 class="box-title">Small</h4>
              <div id="paginator3"></div>
            </div>
            <!-- /.box -->
          </div>
		  <div class="box">
            <div class="box-body res-tb-block">
			  <h4 class="box-title">Onselect</h4>
              <div id="paginator4"></div>
            </div>
            <!-- /.box -->
          </div>
         </div>
      </div>
      <!-- /.row -->	
		
    </section>
    <!-- /.content -->
  </div>


</div>
<!-- ./wrapper -->

	<!-- jQuery 3 -->
	<script src="../../../assets/vendor_components/jquery/dist/jquery.min.js"></script>
	
	<!-- popper -->
	<script src="../../../assets/vendor_components/popper/dist/popper.min.js"></script>

	<!-- Bootstrap 4.0-->
	<script src="../../../assets/vendor_components/bootstrap/dist/js/bootstrap.min.js"></script>
	
	<!-- date-paginator -->
	<script src="../../../assets/vendor_components/date-paginator/moment.min.js"></script>
	<script src="../../../assets/vendor_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
	<script src="../../../assets/vendor_components/date-paginator/bootstrap-datepaginator.min.js"></script>
	<script type="text/javascript">

		  var datepaginator = function() {
		return {
			init: function() {
				$("#paginator1").datepaginator(), 
				$("#paginator2").datepaginator({
					size: "large"
				}),
				$("#paginator3").datepaginator({
					size: "small"
				}), 
				$("#paginator4").datepaginator({
					onSelectedDateChanged: function(a, t) {
						alert("Selected date: " + moment(t).format("Do, MMM YYYY"))
					}
				})
			}
		}
	}();
	jQuery(document).ready(function() {
		datepaginator.init()
	}); 

	</script>
	
	<!-- SlimScroll -->
	<script src="../../../assets/vendor_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>

	<!-- FastClick -->
	<script src="../../../assets/vendor_components/fastclick/lib/fastclick.js"></script>

	<!-- 洲博通 App -->
	<script src="../../js/template.js"></script>

	<!-- 洲博通 for demo purposes -->
	<script src="../../js/demo.js"></script>
	
</body>
</html>
